package com.yinghuo.risk.frigate.core.handler;

import com.yinghuo.risk.frigate.core.info.UserLoginInfo;

/**
 * com.yinghuo.risk.frigate.core.cache
 *
 * @author 白雨浓
 * date: 2018/10/18 12:04
 * content: 缓存
 */
public interface CacheHandler<T extends UserLoginInfo> {

    T find(String key);

    void create(String key, T t);

    void modify(String key, T t);

    T remove(String key);

    void refresh(String key);

}
